package com.wishu.finance.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@lombok.Getter
@lombok.Setter
@lombok.ToString
public class PaymentDto {

    private Long paymentId;//付款计划ID
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date paymentDaysBegin;//账期开始日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date paymentDaysEnd;//账期结束日
    private Integer payNumber;// 账期第几期
    private Integer payState;
    private Integer itemType;
    private BigDecimal paymentAmount;

}
